#include "pm.h"
#include <minix/callnr.h>
#include <signal.h>
#include <sys/svrctl.h>
#include <sys/resource.h>
#include <sys/utsname.h>
#include <minix/com.h>
#include <minix/config.h>
#include <minix/sysinfo.h>
#include <minix/type.h>
#include <minix/vm.h>
#include <string.h>
#include <machine/archtypes.h>
#include <lib.h>
#include <assert.h>
#include "mproc.h"
#include "param.h"
#include <stdio.h>

int do_seminit()
{
    int sem = m_in.m1_i1;
    int value = m_in.m1_i2;
    printf("Value: %d\n", value);
    printf("Sem: %d\n", sem);
    return 0;
}

int do_semfree()
{
    int sem = m_in.m1_i1;
    printf("Sem: %d\n",sem);
    return 0;
}

int do_semdown()
{
    int sem = m_in.m1_i1;
    printf("Sem: %d\n",sem);
    return 0;
}

int do_semup()
{
    int sem = m_in.m1_i1;
    printf("Sem: %d\n", sem);
    return 0;
}

int do_semvalue()
{
    int sem = m_in.m1_i1;
    printf("Sem: %d\n", sem);
    return 0;
}
